package com.wechat.DAO;

import com.wechat.pojo.FriendRequest;

import java.util.List;

public interface FriendRequestDAO {
    public abstract FriendRequest queryByBothID(String SID,String RID);
    public abstract List<FriendRequest> queryByRID(String RID);
    public abstract List<FriendRequest> queryBySID(String SID);
    public abstract Boolean insert(FriendRequest friendRequest);
    public abstract Boolean receiveOk(String SID,String RID);
    public abstract Boolean delete(String SID,String RID);
    public abstract Boolean updateStatus(String SID,String RID,String status);
}
